import Vue from 'vue'
import Vuex from 'vuex'
import user from "./user"
import footerTab from "./footerTab"
import movieList from "./movieList"
import photo from "./photo"
import wechat from "./wechat"
import cartoon from "./cartoon"

Vue.use(Vuex)

export default new Vuex.Store({
    state: {}, /* 公共状态 */
    mutations: {}, /* 操作数据状态 */
    actions: {}, /* 异步处理 */
    modules: {
        user,
        footerTab,
        movieList,
        photo,
        wechat,
        cartoon
    }
})
